package com.jswlw.web.manager;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
public class SessionDistributorManager {

    static ThreadLocal<DistributorUser> threadLocal = new ThreadLocal();

    public static DistributorUser getCurrentUser() {
        return threadLocal.get();
    }

    public static void setCurrentUser(DistributorUser user) {
        threadLocal.set(user);
    }
}
